This calculator computes the vector of regression coefficients A using the formula A = (XᵀX)⁻¹ XᵀY. Enter your matrix X and vector Y values below.
Enter values separated by spaces. Each row should be on a new line.
Example for 3 observations with 2 variables:
1 2
3 4
5 6
Enter values separated by spaces or new lines.
Example for 3 observations:
3
5
7
Matrix X should have the same number of rows as Vector Y. Example: Matrix X: 1 2 3 4 5 6 Vector Y: 3 5 7 This represents the system: y = a₀ + a₁*x₁ with intercept term automatically added.